package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 旅游攻略
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2025-02-24 11:21:33
 */
@TableName("lvyougonglve")
public class LvyougonglveEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public LvyougonglveEntity() {
		
	}
	
	public LvyougonglveEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 攻略标题
	 */
					
	private String gonglvebiaoti;
	
	/**
	 * 景点名称
	 */
					
	private String jingdianmingcheng;
	
	/**
	 * 所属城市
	 */
					
	private String suoshuchengshi;
	
	/**
	 * 行程天数
	 */
					
	private Integer xingchengtianshu;
	
	/**
	 * 景点封面
	 */
					
	private String jingdianfengmian;
	
	/**
	 * 攻略类型
	 */
					
	private String gonglveleixing;
	
	/**
	 * 行程距离
	 */
					
	private Integer xingchengjuli;
	
	/**
	 * 交通工具
	 */
					
	private String jiaotonggongju;
	
	/**
	 * 行程路线
	 */
					
	private String xingchengluxian;
	
	/**
	 * 地理位置
	 */
					
	private String diliweizhi;
	
	/**
	 * 攻略详情
	 */
					
	private String gonglvexiangqing;
	
	/**
	 * 发布时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date fabushijian;
	
	/**
	 * 评论数
	 */
					
	private Integer discussnum;
	
	/**
	 * 收藏数
	 */
					
	private Integer storeupnum;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：攻略标题
	 */
	public void setGonglvebiaoti(String gonglvebiaoti) {
		this.gonglvebiaoti = gonglvebiaoti;
	}
	/**
	 * 获取：攻略标题
	 */
	public String getGonglvebiaoti() {
		return gonglvebiaoti;
	}
	/**
	 * 设置：景点名称
	 */
	public void setJingdianmingcheng(String jingdianmingcheng) {
		this.jingdianmingcheng = jingdianmingcheng;
	}
	/**
	 * 获取：景点名称
	 */
	public String getJingdianmingcheng() {
		return jingdianmingcheng;
	}
	/**
	 * 设置：所属城市
	 */
	public void setSuoshuchengshi(String suoshuchengshi) {
		this.suoshuchengshi = suoshuchengshi;
	}
	/**
	 * 获取：所属城市
	 */
	public String getSuoshuchengshi() {
		return suoshuchengshi;
	}
	/**
	 * 设置：行程天数
	 */
	public void setXingchengtianshu(Integer xingchengtianshu) {
		this.xingchengtianshu = xingchengtianshu;
	}
	/**
	 * 获取：行程天数
	 */
	public Integer getXingchengtianshu() {
		return xingchengtianshu;
	}
	/**
	 * 设置：景点封面
	 */
	public void setJingdianfengmian(String jingdianfengmian) {
		this.jingdianfengmian = jingdianfengmian;
	}
	/**
	 * 获取：景点封面
	 */
	public String getJingdianfengmian() {
		return jingdianfengmian;
	}
	/**
	 * 设置：攻略类型
	 */
	public void setGonglveleixing(String gonglveleixing) {
		this.gonglveleixing = gonglveleixing;
	}
	/**
	 * 获取：攻略类型
	 */
	public String getGonglveleixing() {
		return gonglveleixing;
	}
	/**
	 * 设置：行程距离
	 */
	public void setXingchengjuli(Integer xingchengjuli) {
		this.xingchengjuli = xingchengjuli;
	}
	/**
	 * 获取：行程距离
	 */
	public Integer getXingchengjuli() {
		return xingchengjuli;
	}
	/**
	 * 设置：交通工具
	 */
	public void setJiaotonggongju(String jiaotonggongju) {
		this.jiaotonggongju = jiaotonggongju;
	}
	/**
	 * 获取：交通工具
	 */
	public String getJiaotonggongju() {
		return jiaotonggongju;
	}
	/**
	 * 设置：行程路线
	 */
	public void setXingchengluxian(String xingchengluxian) {
		this.xingchengluxian = xingchengluxian;
	}
	/**
	 * 获取：行程路线
	 */
	public String getXingchengluxian() {
		return xingchengluxian;
	}
	/**
	 * 设置：地理位置
	 */
	public void setDiliweizhi(String diliweizhi) {
		this.diliweizhi = diliweizhi;
	}
	/**
	 * 获取：地理位置
	 */
	public String getDiliweizhi() {
		return diliweizhi;
	}
	/**
	 * 设置：攻略详情
	 */
	public void setGonglvexiangqing(String gonglvexiangqing) {
		this.gonglvexiangqing = gonglvexiangqing;
	}
	/**
	 * 获取：攻略详情
	 */
	public String getGonglvexiangqing() {
		return gonglvexiangqing;
	}
	/**
	 * 设置：发布时间
	 */
	public void setFabushijian(Date fabushijian) {
		this.fabushijian = fabushijian;
	}
	/**
	 * 获取：发布时间
	 */
	public Date getFabushijian() {
		return fabushijian;
	}
	/**
	 * 设置：评论数
	 */
	public void setDiscussnum(Integer discussnum) {
		this.discussnum = discussnum;
	}
	/**
	 * 获取：评论数
	 */
	public Integer getDiscussnum() {
		return discussnum;
	}
	/**
	 * 设置：收藏数
	 */
	public void setStoreupnum(Integer storeupnum) {
		this.storeupnum = storeupnum;
	}
	/**
	 * 获取：收藏数
	 */
	public Integer getStoreupnum() {
		return storeupnum;
	}

}
